#ifndef __SYS_USERS_H__
#define __SYS_USERS_H__

/// <summary>
/// System User
/// </summary>
typedef struct _User
{
	UID Id;
	GID Group;
	wchar_t Name[64];
	wchar_t Login[64];
	wchar_t Password[128];
	wchar_t Path[1024];
	wchar_t Home[256];
	wchar_t Email[128];
	int State;

} User, *UserPtr;

/// <summary>
/// User Pipeline
/// </summary>
UID GetUserID(void);
int SetCurrentUserID(UID uid);
int GetUserFromID(UID uid, UserPtr user);

#endif